//
//  HDBuriedPoint.m
//  HDVideoKitDemok
//
//  Created by LiuGaoSheng on 2021/9/14.
//  Copyright © 2021 刘高升. All rights reserved.
//

#import "HDBuriedPoint.h"

@interface HDBuriedPoint()



@end
@implementation HDBuriedPoint
static HDBuriedPoint *_singleInstance = nil;
+(instancetype)sharedInstance{
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        if (_singleInstance == nil) {
            _singleInstance = [[self alloc]init];
        }
    });
    return _singleInstance;
}

+(instancetype)allocWithZone:(struct _NSZone *)zone{
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        _singleInstance = [super allocWithZone:zone];
    });
    return _singleInstance;
}

-(id)copyWithZone:(NSZone *)zone{
    return _singleInstance;
}

-(id)mutableCopyWithZone:(NSZone *)zone {
    return _singleInstance;
}

@end
